<?php
class widget_support_online extends CWidget {
  public function run() {
    $adminInfo = AdminInfo::model()->findByAttributes(array(
      'username' => 'admin'
    ));
    $this->render('widget_support_online', array(
      'adminInfo' => $adminInfo
    ));
  }
}
?>